package com.sxpcwlkj.common.code.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName PrivateKeyEntity
 * @Description 保存公钥 私钥额一个基础类
 * @Author 西决
 * @Date 2023/6/11 22:31
 */
@Data
public class PrivateKeyEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 公钥加密
     */
    private String publicKey;

    /**
     * 私钥解密
     */
    private String privateKey;


    public PrivateKeyEntity(String publicKey, String privateKey){
       this.publicKey=publicKey;
       this.privateKey=privateKey;
    }


}
